package com.leyou.item.api;

import com.leyou.item.pojo.Brand;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;


// * 根据id查询品牌的接口，提供elasticsearch获取数据时调用的接口，继承该API调用item使用FeignClient、

@RequestMapping("/brand")
public interface BrandApi {


    @GetMapping("{id}")
    Brand BrandByCidForEs(@PathVariable("id") Long id);
}